package cn.echogo.demo.activity;

import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.app.ListFragment;

public class MyFragmentActivity extends FragmentActivity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
		MyFragment frag = new MyFragment();
		
		transaction.commit();
		
		DialogFragment df = new DialogFragment();
		
		ListFragment lf = new ListFragment();
		
		
		
		
	}

}
